//
//  RMMShopingZeKouTableViewCell.m
//  Romomo
//
//  Created by puman on 16/10/10.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import "RMMShopingZeKouTableViewCell.h"

@implementation RMMShopingZeKouTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, 60, 49)];
        label.text = @"优惠券";
        label.font = kFont(16);
        label.textColor = COLORFROMCODE(0x2C2C2C, 1);
        [self.contentView addSubview:label];
        
        _zeKouLabel = [[UILabel alloc] initWithFrame:CGRectMake(label.right, 0, kScreenWideth - label.right - 30, 49)];
        _zeKouLabel.text = @"选择您想使用的优惠券";
        _zeKouLabel.font = kFont(16);
        _zeKouLabel.textColor = COLORFROMCODE(0x9B9B9B, 1);
        _zeKouLabel.textAlignment = NSTextAlignmentRight;
        [self.contentView addSubview:_zeKouLabel];
        
        UILabel *lineLabel = [[UILabel alloc] initWithFrame:CGRectMake(15, 0, kScreenWideth - 15, 0.5)];
        lineLabel.backgroundColor = RGBA(221, 221, 221, 1);
        [self.contentView addSubview:lineLabel];

    }
    return self;
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
